[NTG-context] atpage || number comparing

2012-05-15 Thread Peter Schorsch
Hi, it tried to do a \atpage command that results a) some page = nothing b) different page = pagenumber with some text (e.g. auf Seite XY) \def\atPage[#1]% {\doifnot{\at[#1]}{\currentpage}% {\at[#1]}% } My problem with this is, that the \doifnot always results

Re: [NTG-context] atpage || number comparing

2012-05-15 Thread Rogers, Michael K
Hi, I'm a neophyte using last year's TeXLive context. An expert can probably improve my answer. Does this work for you?: \def\atPage[#1]% {\doifnot{\doifreferencefoundelse{#1}{\currentreferencepage}{?}}{\currentpage}% {\at[#1]}% } I adapted it from code in strc

Re: [NTG-context] atpage || number comparing

2012-05-15 Thread Hans Hagen
On 15-5-2012 14:28, Peter Schorsch wrote: Hi, it tried to do a \atpage command that results a) some page = nothing b) different page = pagenumber with some text (e.g. auf Seite XY) \def\atPage[#1]% {\doifnot{\at[#1]}{\currentpage}% {\at[#1]}% } My problem